﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Cesave.DistributedServices.PermisosModule.WindowsHost.ViewModels.Catalogs.Modulos
{
	public partial class ModulosViewModel
	{
		/// <summary>
		/// 
		/// </summary>
		/// <param name="sender"></param>
		/// <param name="e"></param>
		private void ModulosViewModel_PropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e)
		{
			switch (e.PropertyName)
			{
				case "Estados":
					OnEstadosPropertyChanged();
					break;
				case "Estado":
					OnEstadoPropertyChanged();
					break;
				case "Juntas":
					OnJuntasPropertyChanged();
					break;
				case "Junta":
					OnJuntaPropertyChanged();
					break;
				case "EstadosModulo":
					OnEstadosModuloPropertyChanged();
					break;
				case "EstadoModulo":
					OnEstadoModuloPropertyChanged();
					break;
				case "DistritosModulo":
					OnDistritosModuloPropertyChanged();
					break;
				case "DistritoModulo":
					OnDistritoModuloPropertyChanged();
					break;
				case "MunicipiosModulo":
					OnMunicipiosModuloPropertyChanged();
					break;
				case "MunicipioModulo":
					OnMunicipioModuloPropertyChanged();
					break;
				case "JuntasModulo":
					OnJuntasModuloPropertyChanged();
					break;
				case "JuntaModulo":
					OnJuntaModuloPropertyChanged();
					break;
				case "Modulos":
					OnModulosPropertyChanged();
					break;
				case "Modulo":
					OnModuloPropertyChanged();
					break;
				default:
					break;
			}
		}
	}
}